<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>电销精灵官网</title>
		<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
		<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
		<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	</head>
	<body>
		<div class="container">
			<div class="content">
				<div id="item">
					<div class="c1">
						<img src="./img/banner.png" width="100%" height="960px" />
					</div>
					<div class="c1">
						<img src="./img/banner2.png" width="100%" height="960px" />
					</div>
					<div class="c1">
						<img src="./img/banner3.png" width="100%" height="960px" />
					</div>
				</div>
				<div class="top-list">
					<div class="top-box">
						<img src="./img/logo.png" alt="" class="img1">
						<h2>电销精灵</h2>
					</div>
					<div class="rigth">
						<div class="left-box">
							<img src="./img/phone.png" alt="" class="img-right" />
							<span>客服电话：4000868668-3</span>
						</div>
						<div class="center-box" onclick="openDialog()">
							<img src="./img/wx.png" alt="" class="img-right" style="margin-right: 9px !important;" />
							<span>微信客服</span>
						</div>
						<div class="right-box">
							<button class="login" onclick="login()">登录</button>
							<button class="register" onclick="login()">立即注册</button>
						</div>
					</div>
				</div>
			</div>
			<ul id="circle">
				<li class="circle"></li>
				<li class="circle"></li>
				<li class="circle"></li>
			</ul>
			<div class="title-banner">功能板块 </div>
		</div>
		<div class="item-box">
			<div class="item col-md-3">
				<img src="./img/iconAdd.png" class="icon" alt="">
				<div class="item-title">批量添加</div>
				<div class="item-des">多种号码添加方式</div>
			</div>
			<div class="item col-md-3">
				<img src="./img/iconYh.png" class="icon" alt="">
				<div class="item-title">智能优化</div>
				<div class="item-des">轻松告别无效数据</div>
			</div>
			<div class="item col-md-3">
				<img src="./img/iconPhone.png" class="icon" alt="">
				<div class="item-title">连续拨打</div>
				<div class="item-des">解放双手提高效率</div>
			</div>
			<div class="item col-md-3">
				<img src="./img/iconAdmin.png" class="icon" alt="">
				<div class="item-title">客户管理</div>
				<div class="item-des">持续跟进提高转化</div>
			</div>
			<div class="item col-md-3">
				<img src="./img/iconSum.png" class="icon" alt="">
				<div class="item-title">数据统计</div>
				<div class="item-des">拨打情况了如指掌 </div>
			</div>
			<div class="item col-md-3">
				<img src="./img/iconCompany.png" class="icon" alt="">
				<div class="item-title">企业版</div>
				<div class="item-des">适合各规模团队使用 </div>
			</div>
		</div>

		<dialog id="myDialog">
			<img src="./img/ewm.png" alt="" class="ewm">
			<div class="title">微信扫码咨询</div>
			<a href="https://work.weixin.qq.com/kfid/kfccc516d59514452b3" style="display: flex;justify-content: center;">点击咨询</a>
		</dialog>
	</body>
</html>
<script>
	$(function() {
		$('#myDialog').hide()

		var i = 0;
		$(".c1").eq(0).show().siblings().hide();
		$("#circle").find('.circle').eq(i).addClass('active')
		setInterval(function() {
			i++;
			if (i == 3) {
				i = 0;
			}
			$(".c1").eq(i).show().siblings().hide();
			$("#circle").find('.circle').removeClass('active').eq(i).addClass('active')
		}, 3000);
		colse()
	})

	// 打开微信扫码弹窗
	function openDialog() {
		$('#myDialog').show();
	}

	function colse() {
		$('.content #item').on('click', function() {
			$('#myDialog').hide()
		})
		$('.item-box').on('click', function() {
			$('#myDialog').hide()
		})
	}
	// 跳转到登录
	function login() {
		window.open('http://dxjlgs.llmmwl.com:8186/dxjl')
	}
</script>
<style>
	body,
	ul,
	li,
	.container {
		margin: 0;
		padding: 0;
		
	}
	
	.container {
		height: 800px;
		width: 100%;
		margin: 0;
	}
	
	.top-list {
		position: absolute;
		top: 0;
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20px 83px;
	}
	
	.content {
		position: relative;
		width: 100%;
		background-color: #C9D6E3;
	}
	
	.content #item {
		width: 100%;
		height: 800px;
		overflow: hidden;
		position: relative;
	}
	.content #item img{
		width: 100%;
		height: 800px;
	}
	
	.content .items {
		position: absolute;
		right: 0;
		opacity: 1;
		transition: all 1s;
	
	}
	
	.content .items .active {
		opacity: 1;
	}
	.white{
		background-color: #FFFFFF;
	}
	.content,
	.rigth {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	
	#circle {
		position: absolute;
		bottom: 400px;
		left: 50%;
		transform: translate(-50%, -50%);
		display: flex;
		justify-content: space-around;
		align-items: center;
		width: 300px;
		z-index: 1;
	}
	
	
	.circle {
		width: 40px;
		height: 4px;
		background: #fff;
		cursor: pointer;
	}
	
	li {
		list-style: none;
	}
	
	span {
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 14px;
		color: #333333;
	}
	
	.circle:active,
	.active {
		width: 40px;
		height: 4px;
		background: #46939C;
	}
	
	.title-banner {
		position: absolute;
		bottom: 200px;
		display: flex;
		justify-content: center;
		left: 50%;
		transform: translate(-50%, -50%);
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 48px;
		color: #333333;
	}
	
	.item-box {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin: 132px 147px;
	}
	
	.item-box .item {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.item-box .item. icon {
		width: 84px;
		height: 87px;
		margin-bottom: 53px;
	}
	
	.item-box .item .item-title {
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 24px;
		color: #333333;
		margin-bottom: 33px;
	}
	
	.item-box .item .item-des {
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 20px;
		color: #666;
	}
	
	h2 {
		font-family: MiSans;
		font-weight: 800;
		font-size: 30px;
		color: #46939C;
	}
	
	.img1 {
		width: 50px;
		height: 50px;
		margin-right: 13px;
	}
	
	.img-right {
		width: 20px;
		height: 20px;
		margin-right: 13px;
	}
	
	.top-box {
		display: flex;
		text-align: center;
		align-items: center;
	}
	
	.left-box {}
	
	.center-box {
		margin-left: 20px;
		margin-right: 13px;
		cursor: pointer;
	}
	
	.right-box {
		margin-left: 13px;
	}
	
	.login {
		width: 83px;
		height: 49px;
		border-radius: 10px;
		border: 1px solid #46939C;
		margin-right: 43px;
		background-color: transparent !important;
		color: #46939C !important;
	}
	
	.register {
		width: 82px;
		height: 48px;
		background: #46939C;
		border-radius: 10px;
		border: none !important;
		color: #fff !important;
	}
	
	#myDialog {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 632px;
		height: 576px;
		background: #FFFFFF;
		box-shadow: 0px 5px 23px 4px rgba(165, 165, 165, 0.2);
		border: none;
		border-radius: 20px;
		position: absolute;
		top: 233px;
		z-index: 2;
	}
	
	.ewm {
		width: 343px;
		height: 340px;
	}
	
	#myDialog .title {
		font-family: PingFang SC;
		font-weight: 500;
		font-size: 24px;
		color: #333333;
		margin-top: 44px;
	}
</style>